package ptumall.service;

import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import ptumall.model.Goods;

@Service
public interface GoodsService {
    //分页查询
    PageInfo<Goods> getAllgoods(Integer pageNum, Integer pageSize);
    Goods getGoodsById(Integer gid);
    PageInfo<Goods> searchGoodsByName(String gname, Integer pageNum, Integer pageSize);
}
